package com.glela.order.mapper;

import java.util.List;
import java.util.Map;

import com.google.common.collect.Lists;
import org.apache.ibatis.annotations.Param;

import com.glela.order.model.LogisticsStatus;

public interface LogisticsStatusMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LogisticsStatus record);

    int insertSelective(LogisticsStatus record);

    LogisticsStatus selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LogisticsStatus record);

    int updateByPrimaryKeyWithBLOBs(LogisticsStatus record);

    int updateByPrimaryKey(LogisticsStatus record);
    
    public LogisticsStatus selectLogisticsEntity(String orderSn);
    
    public int insertLogisticsStatus(@Param("orderSn")String orderSn,@Param("logisticsSessage")String logisticsSessage
    		,@Param("isFinish")int isFinish,@Param("createTime")String createTime,@Param("com")String com,@Param("no")String no);
    
    public int updateLogisticsStatus(@Param("logisticsSessage")String logisticsSessage
    		,@Param("isFinish")int isFinish,@Param("updateTime")String updateTime,@Param("orderSn")String orderSn);

	 List<String> getAllExpressCompany();
}